#pragma once
#ifndef PROCESADOR_H_INCLUDED
#define PROCESADOR_H_INCLUDED

#include "Emulador.h"

#define OPERATION_AND 0
#define OPERATION_OR 1
#define OPERATION_XOR 2

union Registros
{
    WORD Reg;
    struct
    {
        BYTE LO;
        BYTE HI;
    };

};

union Registros Reg_AF;
union Registros Reg_BC;
union Registros Reg_DE;
union Registros Reg_HL;
union Registros Reg_SP;
WORD PC;
BYTE Z_FLAG, N_FLAG, C_FLAG;
long Cycles;
BYTE PendingInterruptsDisabled;

#endif // PROCESADOR_H_INCLUDED
